#[[
define_property(
    <GLOBAL|DIRECTORY|TARGET|SOURCE_DIR|SOURCE|VARIABLE|CACHED_VARIABLE>
    PROPERTY <PROPERTY_NAME>
    [INHERITED]
    [BRIEF_DOCS <brief_doc> [dOC <full_doc>] ]
    [FULL_DOCS <full_doc> [dOC <full_doc>] ]
)]]
cmake_minimum_required(VERSION 3.0)
project(test_define_property_1)
set_property(GLOBAL PROPERTY TEST_PROPERTY_1 "test_define_property_1")
get_property(var GLOBAL PROPERTY TEST_PROPERTY_1 DEFINED)
message("${var}")# 0
define_property(GLOBAL PROPERTY TEST_PROPERTY_1)
get_property(var GLOBAL PROPERTY TEST_PROPERTY_1 DEFINED)
message("${var}")# 1
get_property(var1 GLOBAL PROPERTY TEST_PROPERTY_1)
message("${var1}")# test_define_property_1